package com.gxar.file.server.base.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 用户配置类
 *
 * @author Linsy
 * @version 1.0
 * @created 2023/6/20 6:06 PM
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
@RefreshScope
public class UserProperties {
    private String host;
    private Long defaultId;
}
